
  <tr>
    <th>ID</th>
    <th><i class="fa fa-image"> 图片</th>
      <th><i class="fa fa-header"></i> 文章标题</th>
      <th><i class="fa fa-user"></i> 文章作者</th>
      <th id="pageview"><i class="fa fa-clock-o"></i> 浏览数<span class="glyphicon glyphicon-triangle-bottom" style="margin-left:5px;color:#bbb"></span> </th>
    <th><i class="fa fa-clock-o"> 发布时间</th>
      <th><i class="fa fa-eye"> 是否显示</th>
    <th>操作</th>
  </tr>
  <foreach name="article" item="v">
    <tr>
      <td >{$a++}</td>
      <td ><img src="__UPLOAD__{$v.art_img}" style="height:50px;" alt=""></td>
      <td class='art_title'>
        <input type="text" value="{$v.art_title}" readonly data_id="{$v.art_id}">
      </td>
      <td>{$v.art_author}</td>
      <td>{$v.art_pageview}</td>
      <td >{$v.art_addtime|date="Y-m-d",###}</td>
      <td class="is_show" data_id="{$v.art_id}" data_value="{$v.is_show}">
        <img src="__ADMIN__/img/{$v['is_show']==1?'yes':'no'}.png" alt="">
      </td>
      <td>
          <a href="{:U('Admin/Article/article_edit/aid/'.$v['art_id'])}" class="btn btn-white btn-sm"><i class="fa fa-pencil"></i> 编辑 </a>                                        
          <a href="javascript:void(0)" class="btn btn-white btn-sm del" a_id="{$v.art_id}"><i class="fa fa-trash"></i> 删除 </a>
      </td>
    </tr>
  </foreach>
                              
  <tr>
    <td colspan="8">{$show}</td>
  </tr>